home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Shareware / Internet / PrePHP1.0.1.dmg.sit / prephp_101.dmg / Example / pageone.php < prev    next >
MacBinary  |  2002-07-03  |  1.0 KB  |  [TEXT/R*ch]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Jul 3 19:34:47 2002, modified Wed Jul 3 19:34:47 2002, creator BBEdit, type ASCII, 489 bytes "pageone.php" , at 0x269 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[R*ch]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 70 61 67 65 6f 6e | 65 2e 70 68 70 00 00 00 |..pageon|e.php...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 52 2a 63 | 68 00 00 00 00 00 00 00 |.TEXTR*c|h.......|
|00000050| 00 00 00 00 00 01 e9 00 | 00 01 7e b9 49 3a 97 b9 |........|..~.I:..|
|00000060| 49 3a 97 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |I:......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 41 0a 00 00 |........|....A...|
|00000080| 3c 3f 70 68 70 0d 09 0d | 09 2f 2f 20 54 68 69 73 |<?php...|.// This|
|00000090| 20 66 69 6c 65 20 64 65 | 66 69 6e 65 73 20 74 68 | file de|fines th|
|000000a0| 65 20 66 69 65 6c 64 73 | 20 74 68 61 74 20 61 72 |e fields| that ar|
|000000b0| 65 20 74 6f 20 62 65 20 | 70 72 69 6e 74 65 64 20 |e to be |printed |
|000000c0| 62 79 20 74 68 65 0d 09 | 2f 2f 20 74 65 6d 70 6c |by the..|// templ|
|000000d0| 61 74 65 2e 69 6e 63 20 | 74 65 6d 70 6c 61 74 65 |ate.inc |template|
|000000e0| 20 66 69 6c 65 2e 20 59 | 6f 75 20 63 61 6e 20 61 | file. Y|ou can a|
|000000f0| 64 64 20 66 69 65 6c 64 | 73 20 61 73 20 79 6f 75 |dd field|s as you|
|00000100| 20 77 69 73 68 2e 0d 09 | 2f 2f 20 54 6f 20 61 64 | wish...|// To ad|
|00000110| 64 20 61 20 66 69 65 6c | 64 20 6e 61 6d 65 64 20 |d a fiel|d named |
|00000120| 74 65 73 74 2c 20 61 64 | 64 20 61 20 6c 69 6e 65 |test, ad|d a line|
|00000130| 20 27 24 74 65 73 74 20 | 3d 20 22 2e 2e 2e 22 27 | '$test |= "..."'|
|00000140| 20 77 68 65 72 65 20 2e | 2e 2e 0d 09 2f 2f 20 69 | where .|....// i|
|00000150| 73 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 66 |s the co|ntents f|
|00000160| 6f 72 20 74 68 65 20 66 | 69 65 6c 64 20 74 6f 20 |or the f|ield to |
|00000170| 79 6f 75 72 20 63 6f 6e | 74 65 6e 74 20 66 69 6c |your con|tent fil|
|00000180| 65 73 2c 20 61 6e 64 20 | 69 6e 73 65 72 74 0d 09 |es, and |insert..|
|00000190| 2f 2f 20 20 20 3c 3f 70 | 68 70 20 70 72 69 6e 74 |// <?p|hp print|
|000001a0| 28 24 74 65 73 74 29 3b | 20 3f 3e 0d 09 2f 2f 20 |($test);| ?>..// |
|000001b0| 69 6e 20 74 68 65 20 74 | 65 6d 70 6c 61 74 65 20 |in the t|emplate |
|000001c0| 66 69 6c 65 2c 20 77 68 | 65 72 65 20 79 6f 75 20 |file, wh|ere you |
|000001d0| 77 61 6e 74 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 |want the| content|
|000001e0| 20 6f 66 20 74 68 65 20 | 66 69 65 6c 64 0d 09 2f | of the |field../|
|000001f0| 2f 20 74 6f 20 62 65 20 | 69 6e 73 65 72 74 65 64 |/ to be |inserted|
|00000200| 2e 0d 09 0d 09 24 68 65 | 61 64 20 3d 20 22 50 61 |.....$he|ad = "Pa|
|00000210| 67 65 20 4f 6e 65 22 3b | 0d 09 0d 09 24 63 6f 6e |ge One";|....$con|
|00000220| 74 65 6e 74 20 3d 20 22 | 54 68 69 73 20 69 73 20 |tent = "|This is |
|00000230| 74 68 65 20 63 6f 6e 74 | 65 6e 74 20 6f 66 20 70 |the cont|ent of p|
|00000240| 61 67 65 20 6f 6e 65 2e | 22 3b 0d 09 0d 09 69 6e |age one.|";....in|
|00000250| 63 6c 75 64 65 28 27 74 | 65 6d 70 6c 61 74 65 2e |clude('t|emplate.|
|00000260| 69 6e 63 27 29 3b 0d 3f | 3e 00 00 00 00 00 00 00 |inc');.?|>.......|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 06 | 00 04 00 2f 00 08 03 63 |........|.../...c|
|000003b0| 02 82 00 2f 00 08 03 63 | 02 82 b9 49 56 b7 00 00 |.../...c|...IV...|
|000003c0| 01 81 00 00 01 81 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|000003d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 27 40 90 |...L...L|...2.'@.|
|000003e0| 01 3b 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.;.....2|..MPSR..|
|000003f0| 00 0a 03 ed ff ff 00 00 | 00 00 01 c9 2d 68 00 00 |........|....-h..|
+--------+-------------------------+-------------------------+--------+--------+